<%@ page pageEncoding="utf-8"%>
<%@page import="org.personal.util.UserUtil"%>
<%@page import="org.personal.Constants"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>个性化网站(门户)</title>
<style>
*{
font-size:14px;
font-family:microsoft yehai;
}
</style>
</head>
<body>
<%
	//是否是系统管理员
	UserUtil userUtil=(UserUtil)request.getSession().getAttribute(Constants.USER_UTIL);
	//System.out.print("userUtil="+userUtil);
	if((userUtil!=null)&&(userUtil.hasSystemAdmin(request)))
	{
		out.print("<a href=\"admin/pages.jsp\"  target=\"_blank\">页面管理</a>&nbsp;&nbsp;");
		out.print("<a href=\"admin/layouts.jsp\"  target=\"_blank\" >布局管理</a>&nbsp;&nbsp;");
		out.print("<a href=\"admin/portlet.jsp\"  target=\"_blank\" >板块管理</a>&nbsp;&nbsp;");
	}
%>
		<br/>
		<a href="<%=basePath%>login.jsp"  target="_blank" >登录进入</a><br/>
		<a href="<%=basePath%>portal?pageId=1"  target="_blank" >匿名进入</a>
		
</body>
</html>